#pragma once
#ifndef TICKETMACHINE_H_
#define TICKETMACHINE_H_

//.h声明->.cpp是实体
class TicketMachine {
    public:
    TicketMachine();
    virtual ~TicketMachine();
    void showPrompt();
    void insertMoney(int money);
    void showBalance();
    void printTicket();
    void showTotal();
    private:
    const int PRICE;
    int balance;
    int total;


};

#endif /*TICKETMACHINE_H_*/

